﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sunboxsoft.ASMS.Client.Domain.WebRef
{
    public partial class EMaintenanceBillPayItem
    {
        public string PayItemName { get; set; }

        public string PayItemTypeText
        {
            get
            {
                if (this.PayItemType == Constant.PayItemTypes.Discount)
                {
                    return "优惠项目";
                }
                else if (this.PayItemType == Constant.PayItemTypes.Payment)
                {
                    return "付费项目";
                }
                return "unknown";
            }
        }

        public EMaintenanceBillPayItem()
        {
        }

        public EMaintenanceBillPayItem(string payItemName)
        {
            this.PayItemName = payItemName;
        }
    }
}
